<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SimpleListDemo.aspx.cs" Inherits="DemonstrationWebsite.SimpleListDemo.SimpleListDemoPage" %>
<%@ Register Assembly="jMVC" Namespace="jMVC" TagPrefix="jMVC" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>jMVC.NET Demos - Simple List</title>
    <link rel="stylesheet" href="~/Resources/Styles.css" />
    <!-- begin_demo_exclude -->
    <!-- Load "view source" frame for demo -->
    <script>window.parent.frames['viewsource'].window.location.href = 'ViewSource.aspx#';</script>
    <!-- end_demo_exclude -->
</head>
<body>
    <form id="form1" runat="server">
        In this demo, we show how easy it is to build dynamic lists. Especially clean and simple is the server-side
        code (<i>SimpleListDemo.aspx.cs</i>).
        <p>
            <jMVC:MVCPanel ID="TagList" runat="server" ViewUrl="TagList.jmvc" />      
        </p>
        <p align="center">
            <asp:Button runat="server" Text="Submit" OnClick="SubmitButton_Click" />
        </p>
        <asp:label runat="server" ID="ResultsLabel" />
    </form>
</body>
</html>
